/**
 * $Id$
 */
package jm.lib.common;

import javax.security.auth.DestroyFailedException;

/**
 * @author Jiming Liu
 *
 */
public interface Destroyable {

	void destroy() throws DestroyFailedException;

    /**
     * Determine if this <code>Object</code> has been destroyed.
     *
     * <p>
     *
     * @return true if this <code>Object</code> has been destroyed,
     *		false otherwise.
     */
    boolean isDestroyed();

}
